package org.generic.service.impl;

import org.generic.entity.SystemRole;
import org.generic.mapper.SystemRoleMapper;
import org.springframework.stereotype.Service;

/**
 * SystemRoleServiceImpl
 *
 * @author 李坤
 */
//@Validated
@Service("systemRoleService")
public class SystemRoleServiceImpl extends AbstractRoleService<SystemRole, SystemRoleMapper, SystemUserServiceImpl> {
    @Override
    public String getRoleName(String id) {
        return this.getRole(id).getName();
    }
}
